package com.ruoyi.tb.lmt.mapper;

import com.ruoyi.tb.lmt.domain.TbMutualInspectiondetail;
import com.ruoyi.tb.lmt.domain.vo.TbMutualInspectiondetailVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 互检详情Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-04
 */
@Mapper
public interface TbMutualInspectiondetailMapper extends BaseMapperPlus<TbMutualInspectiondetailMapper, TbMutualInspectiondetail, TbMutualInspectiondetailVo> {

    List<TbMutualInspectiondetailVo> selectMutual(@Param("mutualId")Long mutualId, @Param("lmtType") String lmtType, @Param("lmtNumber") String lmtNumber, @Param("status") String status);

    String selectMutualId(@Param("mutualId")Long mutualId);

    String selectMutualByLmt(@Param("lmtRepairId")Long lmtRepairId);
}
